#ifndef PEER_H
#define PEER_H

#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#include <string.h>

#include "list.h"

typedef struct
{
  char ip[16];
  char port[8];
} peer;

peer* createPeer(char* ip, char* port);
void freePeer(peer* p);


#endif // PEER_H
